package com.dragon.modules.yuegou.excel.merchant;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\merchant\\merchantWorkbook.xlsx")
public class MerchantWorkbook {
	@ExcelSheet
	@JsonProperty("商户表")
	private List<MerchantRow> merchantRowList;

	public static class MerchantRow {
		@JsonProperty("商户id")
		private String id;

		@JsonProperty("商户名称")
		private String merchantName;

		@JsonProperty("联系人名称")
		protected String contactName;

		/** 联系人手机号 */
		@JsonProperty("联系人手机号")
		protected String contactMobile;

		@JsonProperty("主账号")
		protected String account;

		@JsonProperty("商户地址")
		private String contactAddress;

		@JsonProperty("一级业态名称")
		private String bName;

		@JsonProperty("二级业态名称")
		private String bSecondName;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public String getContactName() {
			return contactName;
		}

		public void setContactName(String contactName) {
			this.contactName = contactName;
		}

		public String getContactMobile() {
			return contactMobile;
		}

		public void setContactMobile(String contactMobile) {
			this.contactMobile = contactMobile;
		}

		public String getAccount() {
			return account;
		}

		public void setAccount(String account) {
			this.account = account;
		}

		public String getContactAddress() {
			return contactAddress;
		}

		public void setContactAddress(String contactAddress) {
			this.contactAddress = contactAddress;
		}

		public String getbName() {
			return bName;
		}

		public void setbName(String bName) {
			this.bName = bName;
		}

		public String getbSecondName() {
			return bSecondName;
		}

		public void setbSecondName(String bSecondName) {
			this.bSecondName = bSecondName;
		}
	}

	public List<MerchantRow> getMerchantRowList() {
		return merchantRowList;
	}

	public void setMerchantRowList(List<MerchantRow> merchantRowList) {
		this.merchantRowList = merchantRowList;
	}
}
